#ifndef GANTTCHART_H
#define GANTTCHART_H

#include <QtWidgets/QGraphicsView>

class QGraphicsScene;
class GanttChart : public QGraphicsView
{
    Q_OBJECT
public:
    explicit GanttChart(QWidget *parent = nullptr);
    void addTask(const QString& name,int startDay,int duration,const QColor &color);
signals:
private:
    QGraphicsScene* m_scene;
};

#endif // GANTTCHART_H
